import { typeProduct } from '@/types/product'
import { typeUserInfo } from '../types/user'
import { typeAddress, typeCartItem, typePayment } from '../types/cart'

export interface Action<Data> {
    type: string,
    data?: Data,
    error?: string
}
export interface Product {
    loading: boolean,
    product: typeProduct
}
export interface Cart {
    address?: typeAddress,
    payment?: typePayment
}
export interface Store_User {
    loading: boolean,
    userInfo?: typeUserInfo
}
